﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Data.Interfaces.Callback
{
    public interface ICPlayerService : ICBase
    {

        [OperationContract(IsOneWay = true)]
        void updateOtherPlayer(string pseudo, string classePerso, int posX, int posY, int orientation, int step, int life, int mana);

        [OperationContract(IsOneWay = true)]
        void updateOtherAnimation(string pseudo, int posX, int posY, string attackType, int orientation);

        [OperationContract(IsOneWay = true)]
        void updateCurrentPlayerLife(string pseudo, int life, int damage);

        [OperationContract(IsOneWay = true)]
        void updatePlayerScore(string pseudo, int death, int score);

        [OperationContract(IsOneWay = true)]
        void regenStats();

    }
}
